package com.asinking.debezium;

import java.util.HashMap;


public class DebeziumObject {
    private String isSnapshot;
    private HashMap<String, Object> prikey = new HashMap<>();
    private HashMap<String, Object> values = new HashMap<>();
    private HashMap<String, Object> oldValues = new HashMap<>();
    private String rowKind;
    private boolean isDDL;
    private String ddlString;
    private long version;
    private int sign;

    public long getVersion() {
        return version;
    }

    public HashMap<String, Object> getOldValues() {
        return oldValues;
    }

    public void setOldValues(HashMap<String, Object> oldValues) {
        this.oldValues = oldValues;
    }

    public void setVersion(long version) {
        this.version = version;
    }

    public int getSign() {
        return sign;
    }

    public void setSign(int sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        return "DebeziumObject{" +
                "isSnapshot='" + isSnapshot + '\'' +
                ", prikey=" + prikey +
                ", values=" + values +
                ", rowKind='" + rowKind + '\'' +
                ", isDDL=" + isDDL +
                ", ddlString='" + ddlString + '\'' +
                '}';
    }

    public String getIsSnapshot() {
        return isSnapshot;
    }

    public void setIsSnapshot(String isSnapshot) {
        this.isSnapshot = isSnapshot;
    }

    public HashMap<String, Object> getPrikey() {
        return prikey;
    }

    public void setPrikey(HashMap<String, Object> prikey) {
        this.prikey = prikey;
    }

    public HashMap<String, Object> getValues() {
        return values;
    }

    public void setValues(HashMap<String, Object> values) {
        this.values = values;
    }

    public String getRowKind() {
        return rowKind;
    }

    public void setRowKind(String rowKind) {
        this.rowKind = rowKind;
    }

    public boolean isDDL() {
        return isDDL;
    }

    public void setDDL(boolean DDL) {
        isDDL = DDL;
    }

    public String getDdlString() {
        return ddlString;
    }

    public void setDdlString(String ddlString) {
        this.ddlString = ddlString;
    }
}
